package com.example.demo.service;



import com.example.demo.entity.Activity;
import com.example.demo.pojo.PlannerResult;
import com.example.demo.vo.JoinerVo;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface HomeService {
    PlannerResult<String> join_act (JoinerVo joinerVO);

    PlannerResult <String> exit_act (Integer userid,Integer actid);



    PlannerResult<List<Activity>> my_act_join(Integer userid);

    PlannerResult<List<Activity>> my_act_create(Integer userid);


}
